<?php

class User_model extends CI_Model {

    public function __construct()
    {
        parent::__construct();
        // Your own constructor code
    }


    public function get_hot_user()
    {

    	// $this->load->database();
    	
    	$this->db->order_by('level','desc');

    	return $this->db->get('fly_user',10)->result();
    }

}